import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router/index'
import 'amfe-flexible'
// 引入公共样式文件
import './styles/base.css'
// 引入 Toast 样式文件
import 'vant/es/toast/style'
import { createPinia } from 'pinia'

const app = createApp(App)
// createPinia() 在 router 之前被引用
app.use(createPinia())
app.use(router)
app.mount('#app')
